\defmodule{ObservationListener}

Represents an object that can listen to observations broadcast
by statistical probes.

\bigskip\hrule

\begin{code}
\begin{hide}
/*
 * Class:        ObservationListener
 * Description:  Observation listener
 * Environment:  Java
 * Software:     SSJ 
 * Copyright (C) 2001  Pierre L'Ecuyer and Universite de Montreal
 * Organization: DIRO, Universite de Montreal
 * @author       
 * @since

 * SSJ is free software: you can redistribute it and/or modify it under
 * the terms of the GNU General Public License (GPL) as published by the
 * Free Software Foundation, either version 3 of the License, or
 * any later version.

 * SSJ is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * A copy of the GNU General Public License is available at
   <a href="http://www.gnu.org/licenses">GPL licence site</a>.
 */
\end{hide}
package umontreal.iro.lecuyer.stat;


public interface ObservationListener\begin{hide} {\end{hide}

   public void newObservation (StatProbe probe, double x);
\end{code}
\begin{tabb} Receives the new observation \texttt{x} broadcast by \texttt{probe}.
\end{tabb}
\begin{htmlonly}
   \param{probe}{the statistical probe broadcasting the observation.}
   \param{x}{the observation being broadcast.}
\end{htmlonly}
\begin{code}\begin{hide}
}\end{hide}
\end{code}
